<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
$this->group(['domain' => env('DOMAIN_ADMIN')], function() {
	$this->get('/', 'IndexController@indexPage');
	//公共上传图片
	$this->post('/upload/pic', 'Config\Attachment\UploadController@uploadPic');
	//公共上传文件
	$this->post('/upload/file', 'Config\Attachment\UploadController@uploadFile');
	//公共上传视频
	$this->post('/upload/video', 'Config\Attachment\UploadController@uploadVideo');
});